<%@page import="entityBean.Avancement"%>
<%@page import="entityBean.Startup"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css"
	href="/Web-JEE/css/style_table.css" />
<title>afficher avancement</title>

</head>
<body>

	<%
		Integer id_club = (Integer) request.getAttribute("idClub");
		Integer id_inv = (Integer) request.getAttribute("idInv");
	%>
	<%!List<Avancement> avancements;%>
	<%
		avancements = (List<Avancement>) request
				.getAttribute("avancements");
	%>
	<jsp:include page="../jsp/BA_header.jsp" flush="true" />
	<div id="content">
		<form method="post" action="../Controleur">
			<table width="100%" cellpadding="10" cellspacing="10"
				bordercolor="#CC9900" bgcolor="#FFFFFF">
				<tr>
					<th scope="row"><table width="100%" border="1"
						cellpadding="10" cellspacing="10"
				bordercolor="#CC9900" bgcolor="#FFFFFF">
							<tr>
								<td colspan="2" class="txt-ttespace"><b><h1>Afficher
											Avancement</h1> </b>
								</td>

							</tr>

							<tr>
								<td>
									<div style="overflow: auto; height: 300px; margin-top: 40px;">
										<table id="gradient-style" align="center">
											<thead style="border: 1px;">
												<tr>
													<th scope="col" align="center"><b>Id Avancement</b></th>
													<th scope="col" align="center"><b>Nom StartUp</b></th>
													<th scope="col" align="center"><b>Id StartUp</b></th>
													<th scope="col" align="center"><b>Stade de
															Avancement</b></th>

												</tr>
											</thead>

											<tbody>

												<%
													if (avancements != null) {
														for (Avancement av : avancements) {
												%>

												<tr>
													<td align="center"><%=av.getIdavancement()%></td>
													<td align="center"><%=av.getStartup().getNom()%></td>
													<td align="center"><%=av.getStartup().getIdStartUp()%></td>
													<td align="center"><%=av.getStadeAvancement()%></td>

												</tr>
												<%
													}
													}
												%>
											</tbody>
										</table>
									</div></td>
							</tr>
						</table>
					</th>
				</tr>
			</table>
		</form>
	</div>

</body>
</html>